<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:ui>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>无标题文档</title>
		<link rel="stylesheet" type="text/css" charset="utf-8"
			href="/hrms/css/styles.css" />
		<link rel="stylesheet" type="text/css" charset="utf-8"
			href="/hrms/css/flexigrid.css" />
		<link rel="stylesheet" type="text/css" charset="utf-8"
			href="/hrms/css/flexigrid.pack.css" />
		<link rel="stylesheet" type="text/css" charset="utf-8"
			href="/hrms/css/ztree.css" />
		<script language="javascript"
			src="/hrms/js/my97/WdatePicker.js"></script>
		<script type="text/javascript"
			src="/hrms/js/jquery-1.7.2.min.js"></script>

		<script type="text/javascript"
			src="/hrms/js/jquery.container.js"></script>

		<script type="text/javascript"
			src="/hrms/js/common.js"></script>

		<script type="text/javascript"
			src="/hrms/js/flexigrid.pack.js"></script>

		<script type="text/javascript">
	$(document).ready( function() {
		demand("trainplanaudit");
		$("#add").click(function(){
			$("#plan_add").dialog("close");
		});
		$("#update").click(function(){
			$("#plan_update").dialog("close");
		});
		$("#plan_update").dialog("close");
		$("#plan_add").dialog("close");
	});
</script>

	</head>

	<body onload="loadDemand('trainplanaudit')">
		<div align="center">
			<br />
			<br />
			<br />
			<table width="80%" border="0" class="table_frame" align="center">

				<thead class="table_title">
					<tr>
						<td align="center">
							培训计划信息审核
						</td>
					</tr>
				</thead>
				<tr>
					<td>
						<table width="100%" border="0" class="table_block">
							<tr>
								<td align="right">
									计划编号：
								</td>
								<td align="left">
									<input name="" type="text" size="20" />
									&nbsp;
								</td>
								<td align="right">
									课题：
								</td>
								<td align="left">
									<input name="Input" type="text" size="20" />
								</td>
							</tr>
							<tr>
								<td colspan="4" align="center">
									<input name="" type="button" value="查询" class="button_image" />
									<input name="" type="reset" class="button_image" />
								</td>

							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td height="20"></td>
				</tr>
				<tr>
					<td>
						<div>
							<table id="querylist"></table>
							<script type="text/javascript">
	$("#querylist").flexigrid( {
		url :'post2.php',
		dataType :'json',
		striped : true,
		colModel : [ {
			display :'计划编号',
			name :'iso',
			width :60,
			sortable :true,
			align :'center'
		}, {
			display :'开始时间',
			name :'name',
			width :80,
			sortable :true,
			align :'left'
		}, {
			display :'结束时间',
			name :'name',
			width :80,
			sortable :true,
			align :'left'
		}, {
			display :'课题',
			name :'printable_name',
			width :100,
			sortable :true,
			align :'left'
		}, {
			display :'培训讲师',
			name :'iso3',
			width :80,
			sortable :true,
			align :'left',
			hide :true
		}, {
			display :'课程学分',
			name :'numcode',
			width :60,
			sortable :true,
			align :'right'
		},{
			display :'培训对象',
			name :'numcode',
			width :80,
			sortable :true,
			align :'right'
		},{
			display :'课时',
			name :'numcode',
			width :40,
			sortable :true,
			align :'right'
		},{
			display :'费用',
			name :'numcode',
			width :80,
			sortable :true,
			align :'right'
		},{
			display :'开课时间',
			name :'numcode',
			width :80,
			sortable :true,
			align :'right'
		},{
			display :'培训频率',
			name :'numcode',
			width :80,
			sortable :true,
			align :'right'
		},{
			display :'计划状态',
			name :'numcode',
			width :80,
			sortable :true,
			align :'right'
		}   ],
		buttons : [ {
			name :'培训计划审核',
			bclass :'auth',
			onpress :audit
		}, {
			separator :true
		} ],
		searchitems : [ {
			display :'计划编号',
			name :'iso'
		}, {
			display :'课题',
			name :'name',
			isdefault :true
		} ],
		sortname :"iso",
		sortorder :"asc",
		usepager :true,
		title :'培训计划信息列表',
		funcp :true,
		rp :15,
		showTableToggleBtn :true,
		width :1000,
		height :200
	});
	function audit(com, grid) {
		alert("请先选择您要删除的数据！");
	}
</script>
						</div>
					</td>
				</tr>
			</table>
			<div align="center">
				<br />
				<br />
				<table width="90%" border="0" class="table_frame" align="center">
					<tr>
						<td align="center">
							<input id="demand" name="" type="button" value="需求收集"
								class="button_image" />
						</td>
					</tr>
					<tr>
						<td align="center">
							<div id="demand_input" style="display: none">
								<textarea rows="15" cols="120" id="demand_text"></textarea>
								<br />
								<input id="demand_save" type="button" class="button_image"
									value="保存需求" />
							</div>
						</td>
					</tr>
				</table>
				<table id="demand_des" width="90%" border="0" class="table_frame"
					align="center">
					<thead align="center" class="table_title">
						<tr>
							<td>
								需求描述
							</td>
						</tr>
					</thead>
				</table>
			</div>
		</div>
		<ui:dialog id="plan_add" title="计划审核" height="300" width="700"
			modal="true">
			<form id="aform"
				action="/eaip/webservice/resources/session/login"
				method="post">
				<table class="table_frame" width="100%">
					<tr>
						<td align="right">
							计划编号:
						</td>
						<td align="left">
							<input id="empl_add" type="text" value=""
								size=20 />
							<font color="red">*</font>
						</td>
						<td align="right">
							课题:
						</td>
						<td align="left">
							<input id="empl_add" type="text" value=""
								size=20 />
						</td>
					</tr>
					<tr>
						<td align="right">
							开始时间:
						</td>
						<td align="left">
							<input type="text" class="Wdate" id="d1"
									onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy年MM月dd日',minDate:'%y-%M-%d'})" />
						</td>
						<td align="right">
							结束时间:
						</td>
						<td align="left">
							<input type="text" class="Wdate" id="d2"
									onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy年MM月dd日',minDate:'%y-%M-%d'})" />
							<font color="red">*</font>
						</td>
					</tr>
					<tr>
						<td align="right">
							课程学分:
						</td>
						<td align="left">
							<input type="text"/>
						</td>
						<td align="right">
							课时:
						</td>
						<td align="left">
							<input type="text"/>
						</td>
					</tr>
					<tr>
						<td align="right">
							费用:
						</td>
						<td align="left">
							<input type="text"/>
						</td>
						<td align="right">
							开课时间:
						</td>
						<td align="left">
							<input type="text" class="Wdate" id="d28"
									onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy年MM月dd日',minDate:'%y-%M-%d'})" />
						</td>
					</tr>
					<tr>
						<td align="right">
							培训讲师:
						</td>
						<td align="left">
							<select multiple="multiple">
								<option>取自培训师信息</option>
							</select>
						</td>
						<td align="right">
							培训对象:
						</td>
						<td align="left">
							<select multiple="multiple">
								<option>职级，职别字典</option>
							</select>
						</td>
						
					</tr>
					<tr>
						<td align="right">
							培训频率:
						</td>
						<td align="left">
							<select>
								<option>取自时间周期字典</option>
							</select>
						</td>
						<td align="right">
							备注:
						</td>
						<td align="left">
							<textarea rows="3" cols="20"></textarea>
						</td>
					</tr>
					<tr>
						<td align="center" colspan="4">
							<input type="button" value="审核通过" class="button_image" id="add" />
							<input type="button" value="审核不通过" class="button_image" id="add" />
							<input type="button" value="退回申请" class="button_image" />
							<input type="reset" value="重置" class="button_image" />
						</td>
					</tr>
				</table>
			</form>
		</ui:dialog>
	</body>
</html>
